package com.java3_1;

public class Customer extends Thread{
    private Clerk clerk;
    public Customer(Clerk product){
       this.clerk = product;
    }


    @Override
    public void run() {
        while (true) {
            clerk.productDelete();
        }
    }
}
